package main

import (
	"yundian/cmd/pcl/hnxmsc/weixintozfb/weixintozfbrouter"
	. "yundian/internel/pkg/dbs"
	. "yundian/internel/pkg/dingo"
	"yundian/internel/pkg/dingo/system"
)

func main() {
	system.New("./configs/alipay.yaml").
		Ready(
			NewZapComponent(),   // logger 日志管理
			NewMysqlComponent(), // mysql 连接
			NewRedisComponent(), // redis 连接
			NewTransComponent(), // validator 翻译器
		).Register(weixintozfbrouter.NewRouter()).Go()
}
